//
//  LGProductDetailBottomBar.m
//  LuxuryGoods
//
//  Created by 刘星辰 on 2018/5/29.
//  Copyright © 2018年 Future. All rights reserved.
//

#import "LGProductDetailBottomBar.h"
#import "LGImageManagerIO.h"
@interface LGProductDetailBottomBar()
@property (weak, nonatomic) IBOutlet UIImageView *bgView;

@end

@implementation LGProductDetailBottomBar

- (instancetype)initWithCoder:(NSCoder *)aDecoder
{
    if (self = [super initWithCoder:aDecoder])
    {
        
    }
    return self;
}

- (void)awakeFromNib
{
    [super awakeFromNib];
    self.bgView.image = [LGImageManagerIO createGradualColorImage:self.bgView.size startColor:LOW_COLOR endColor:HIGH_COLOR];
    [self.bgView setCornerRadius:self.bgView.height/2.0];
}



@end
